package com.young.modbus;

import com.young.modbus.config.PlcConfig;
import com.young.modbus.config.PlcPoints;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableConfigurationProperties({PlcConfig.class, PlcPoints.class})
@EnableScheduling
public class ModbusMasterApplication {

    public static void main(String[] args) {
        SpringApplication.run(ModbusMasterApplication.class, args);
    }

}
